package com.example.docking.service.impl;

import com.example.docking.service.CommonOperateService;
import com.smecloud.apigw.model.ApiResult;

import java.util.HashMap;

public class CommonOperateServiceImpl implements CommonOperateService {
    @Override
    public ApiResult audit(HashMap<String, String> map) throws Exception {
        map.put("operate_type", "audit");
        return null;
    }

    @Override
    public ApiResult unaudit(HashMap<String, String> map) throws Exception {
        map.put("operate_type", "unaudit");
        return null;
    }

    @Override
    public ApiResult delete(HashMap<String, String> map) throws Exception {
        map.put("operate_type", "delete");
        return null;
    }

    @Override
    public ApiResult close_donothing(HashMap<String, String> map) throws Exception {
        map.put("operate_type", "close_donothing");
        return null;
    }
}
